package by.fedorenko.sample.services;

import org.springframework.transaction.annotation.Transactional;

import by.fedorenko.sample.datamodel.AppartmentType;

public interface AppartmentTypeService {
	
	@Transactional
	AppartmentType get(Long id);

	@Transactional
	void saveOrUpdate(AppartmentType appartmentType);

	@Transactional
	void delete(AppartmentType appartmentType);

	@Transactional
	void deleteAll();
}
